home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: hpwisf1.han.federal.unisys.com!usenet
- From: Clarence Ferguson <fergusoc>
- Subject: Why C++/G++/?++
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <DLFosu.F6s@Federal.Unisys.COM>
- Sender: usenet@Federal.Unisys.COM
- Nntp-Posting-Host: scorpio.han.federal.unisys.com
- Content-Transfer-Encoding: 7bit
- Organization: Unisys Federal Systems/Network Systems Technology
- Mime-Version: 1.0
- Date: Fri, 19 Jan 1996 15:10:06 GMT
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.2 sun4c)
- X-Url: news:comp.lang.c++
-
- I am not trying to start a flame war so please don't but I must wonder outloud
- why one would choose C++ over something like Ada95? It sure as heck isn't
- because C++ is more mature. Hell, its changing (or has done so historically)
- at Stroustroupe's whim.
- Why are concurrent operations not a part of the language? Why aren't exceptions
- automatically raised? Why are the only encpsulation mechanisms Classes
- and files? In the long run, what does multiple inheritance being a formally
- defined part of the language buy you?
- In Ada95 (and Ada83) concurrency is a standard part of the language and must
- be in every compiler. Exceptions are automatically raised and propigated
- outward until an exception handler is found or the OS is reached (at which time
- the application aborts). In addition to classes and files, Ada95 has the
- encapsulation mechanisms of Packages, generics, and tasks to more accurately
- model your application needs. Ada does not support multiple inheritance
- directly within the core language, but one may extend (through packages and
- such) to get that feature (A feature which more folks are realizing
- may be more trouble than it is worth - IMHO).
-
- No religious arguments please - I am really trying to understand the commercial
- mindset that says a language like C/C++ is better (more reliable, portable,
- readable, testable, or maintainable) than Ada83/Ada95.
-
- If you want to know more about Ada95 try
- http://sw-eng.falls-church.va.us/AdaIC/Welcome.html
-
- This will get you into the Ada Information Clearinghouse and
- present you access to manuals, standards, POCs etc for Ada95.
-
- Time to put the old soapbox away and don my flame retardent suit ;-)
-
- TIA
- JAy Ferguson
-
-